const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave: false,
  chainWebpack: config => {
    config.module
      .rule('glb-loader')
      .test(/\.glb$/)
      .use('file-loader')
      .loader('file-loader')
      .options({
        name: 'models/[name].[ext]'
      })
      .end();
  }
})
